import { _request } from './request'

// 获取token
export const getTokenRequest = (data) => _request('/api/v1/login/getToken', data)

// 验证token
export const verifyTokenRequest = (data) => _request('/api/v1/login/verifyToken', data)

// 更新信息接口
export const updateMessageRequest = (data) => _request('/api/v1/user/updateUser', data, true)

// 获取个人信息
export const getUserinfoRequest = (data) => _request('/api/v1/user/getUser', data, true)

// 获取城市接口